@border: 1px+5;
@basicFont: 16px;

.count {
  width: 100px;
  // 注意做除法加括号
  height: (100px/2);
  border: @border solid red;
  span {
    font-size: (12rem / @basicFont);
    color: #fff - #eee;
  }
}